package com.cookor.poi.modules.phy.dao;

import com.cookor.poi.common.persistence.CrudDao;
import com.cookor.poi.common.persistence.annotation.MyBatisDao;
import com.cookor.poi.modules.phy.entity.TBookNo;
import com.cookor.poi.modules.phy.entity.TOrder;
import java.util.List;
import org.apache.ibatis.annotations.Param;

@MyBatisDao
public interface TBookNoDao extends CrudDao<TBookNo> {
  void deleteByParam(@Param("tenantId") Integer paramInteger1, @Param("actionId") Integer paramInteger2, @Param("doctorId") Integer paramInteger3, @Param("year") Integer paramInteger4, @Param("month") Integer paramInteger5, @Param("day") Integer paramInteger6);
  
  void batchInsert(@Param("bookNoList") List<TBookNo> paramList);
  
  List<TBookNo> queryByAppoint(@Param("tenantId") Integer paramInteger1, @Param("actionId") Integer paramInteger2, @Param("doctorId") Integer paramInteger3, @Param("year") Integer paramInteger4, @Param("month") Integer paramInteger5, @Param("day") Integer paramInteger6, @Param("type") Integer paramInteger7, @Param("status") Integer paramInteger8);
  
  void updateStatusByOrderList(@Param("orderList") List<TOrder> paramList, @Param("status") int paramInt);
}
